package <#if packagePath != ''>${packagePath}.</#if>convert;

/**
 * @author cxx
 **/
public class LongToIntConvert implements Convert {
    @Override
    public Object convert(Object fv) {
        if(fv instanceof Long){
            return ((Long) fv).intValue ();
        }
        throw new ConvertException("fv is not long");
    }
}
